package net.zjitc.yaobei_backed.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 学习记录实体
 */
@Data
@TableName("study_record")
public class StudyRecord {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private Integer wordId;

    /**
     * 记忆置信度 (0~1之间)
     */
    private Float recallConfidence;

    /**
     * 复习次数
     */
    private Integer reviewCount;

    /**
     * 上次复习时间
     */
    private LocalDateTime lastReviewAt;

    /**
     * 下次复习时间
     */
    private LocalDateTime nextReviewAt;

    /**
     * 遗忘系数
     */
    private Float forgetFactor;
}









